﻿<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>部门列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<import type="js" file="js.jquery" />
<import type="js" file="js.common" />
<import type="css" file="css.form" />
<import type="css" file="css.global" />
<script type="text/javascript">
function refresh()
{
	document.location = document.location.href.replace('#', '');
}
function deptclick(dept_id){
	parent.main.location="__APP__/User/lists?dept_id="+dept_id;
}

function user_add(){
	parent.main.location='__APP__/User/add';
}
</script>

<style type="text/css">
	body{
		color: #333333;
	    font: 12px "宋体",Verdana,Arial,Helvetica,sans-serif;
	}
	ul{
		list-style: none outside none;
		margin-left:20px;
	}
	li{
		margin: 7px 0;
	}
	a{
		text-decoration: none;
		color: #393939;;
	}
	.list_name a:hover{
		background-color:#3CC4A9;
	}
</style><SCRIPT language=javascript>
function check_form()
{
  if(document.form1.work_name.value == "")
  {
     alert("名称/文号不能为空!");
     return false;
  }
  return true;
}
var html = '<iframe src="__URL__/type_explain/type_id/{$type_id}" width=700 height=300 frameborder="0"></iframe>';
</SCRIPT>
</head>
<body>
<div class="search">
<img src="__PUBLIC__/images/green_arrow.gif" ><span class="big3"><b>填写该工作的名称或文号</b></span>
</div>
<br>
<div class="list">
  <form action="__URL__/work_name_insert" method="post" name="form1" onSubmit="return check_form();">
<table class="stripe" cellspacing="0">
    <thead>
        <tr>
            <th>{$type_name} - 名称/文号</th>
        </tr>
    </thead>
     <tbody>
        <tr align="center">
            <td style="padding: 10px 0;"><textarea name="work_name" style="height:40px;width: 450px;padding-top:10px;" readonly >{$name}     {$type_name}({$time}) </textarea></td>
        </tr>
     </tbody>
</table>
<div style="text-align: center;padding-top:5px;">
       <input type='hidden' name="type_id" value="{$type_id}">
       <input type='hidden' name="work_time" value="{$time}">
       <input type="submit"  value="新 建" class="button" name="submit">
</div>
</form>
</div>
</body>
</html>
